<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>
<div style="clear:both;"></div>

<div id="OrderForm" style="float:none; margin:0 auto; overflow:hidden;">
<div class="Top">
<div class="Bottom">
<div class="Content">
<h1 class="Title">Вход</h1>
<hr class="Line" /> 
<p>Пожалуйста заполните форму для входа:</p>
<hr class="Line" />
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableAjaxValidation'=>true,
)); ?>

	<p class="note">Поля со знаком <span class="Red">*</span> обязательны для заполнения.</p>

	<div class="row">
		<?php echo '<span class="Red">*</span>'. $form->labelEx($model,'Login'); ?>
		<?php echo $form->textField($model,'username',array('class' => 'PText')); ?>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class="row">
		<?php echo '<span class="Red">*</span>'. $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password',array('class' => 'PText')); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>

	<div class="row rememberMe">
		<?php echo $form->checkBox($model,'rememberMe'); ?>
		<?php echo $form->label($model,'rememberMe'); ?>
		<?php echo $form->error($model,'rememberMe'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton(' ' ,array('class' => 'Ok')); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->
            </div>
        </div>
        </div>
        </div>